import { useWindowScroll, useDebounce } from './hooks.js'
import { useEffect } from 'react'

function App() {
   const instance = useWindowScroll()
   console.log(instance)
   useEffect(() => {
   })

  const handle = useDebounce((a) => {
    console.log('hello');
  },1000)
  return (
    <div style={{height: '200vh'}} onClick={handle}>hello</div>
  )
}

export default App;